home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / Dr. Doyle / Sun / SUN Admin.faq < prev   
Internet Message Format  |  1994-08-28  |  93KB

  1. Path: bloom-beacon.mit.edu!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!swiss.ans.net!meaddata!babbage.ece.uc.edu!montjoy
  2. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  3. Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.solaris,comp.answers,news.answers
  4. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  5. Supersedes: <comp-sys-sun-admin_775858717@babbage.ece.uc.edu>
  6. Followup-To: poster
  7. Date: 28 Aug 1994 17:04:19 GMT
  8. Organization: University of Cincinnati
  9. Lines: 2433
  10. Sender: montjoy@thor.ece.uc.edu (Rob Montjoy)
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: inet
  13. Expires: 25 Sep 1994 17:04:14 GMT
  14. Message-ID: <comp-sys-sun-admin_778093454@babbage.ece.uc.edu>
  15. NNTP-Posting-Host: thor.ece.uc.edu
  16. Summary: Answers to questions which appear in comp.sys.sun.*
  17. Keywords: Sun Computer Admin FAQ
  18. Status: RO
  19. Originator: montjoy@thor
  20. Xref: bloom-beacon.mit.edu comp.sys.sun.admin:34121 comp.sys.sun.misc:13138 comp.unix.solaris:23776 comp.answers:6969 news.answers:24745
  21.  
  22. Archive-name: comp-sys-sun-faq
  23. Last-modified: 1994/8/25
  24. Version: 1.9.5
  25.  
  26. Frequently Asked Questions for Comp.sys.sun.admin
  27.  
  28. Last update August 25 1994
  29.  
  30. This is a collection of common questions posted to the comp.sys.sun.*
  31. hierarchy.
  32.  
  33. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  34. the Subject as Sun FAQ.
  35.  
  36. This FAQ is available from thor.ece.uc.edu(129.137.8.118)
  37. in the /pub/sun-faq. Get the file sun-faq.general. The sun-faq
  38. directory is also available from gopher.ece.uc.edu(129.137.8.118).
  39.  
  40. Important Notice:
  41.     This is the Last version of this FAQ in its present form. This
  42.     FAQ will be divided into several sections and be converted to
  43.     allow newsreaders to go between subjects. 
  44.  
  45.     This would be a good time to add any of your favorite questions.
  46.     Just mail them to the usual address. 
  47.  
  48.     Also, someone has volunteered to maintain this FAQ in 
  49.     HTML form(World Wide Web) and this FAQ will be made available
  50.     through the Web Server at ra.ece.uc.edu and at least one
  51.     more.
  52.  
  53.     If anyone has any source code(Sun Specific) for Solaris2.x or
  54.     SunOS4.1.x that you want to add the source archive available
  55.     on thor. Should we offer pre-compiled binaries for Solaris2.x?
  56.  
  57.     Finally, at the same time the thor anon ftp and thor gopher
  58.     servers will be overhauled. Let me know if you want anything
  59.     included on the gopher or anon ftp servers.
  60.  
  61. Notes:    As of this writing almost all of these questions apply
  62.           to SunOS versions up to 4.1.3. SunOS 5.x questions
  63.           will start appearing gradually as more people start
  64.           installing SunOS 5.x(Solaris 2.x). 
  65.  
  66.     I am looking for suggestions on how to split this FAQ into
  67.     sections. These sections should follow the comp.sys.sun.* 
  68.     newsgroups(app, hardware, admin, misc, and wanted) and
  69.     section on bettering Sun Security. Basically, what
  70.     will end up with is a FAQ on each subject. Each
  71.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  72.     and a section common to both.
  73.  
  74.     I will probably need some volunteers to help coordinate
  75.     this undertakeing.. Send suggestion to the usual address.
  76.  
  77.  
  78. This article includes answers to the following questions, which are loosely
  79. grouped into categories. Questions marked with a '+' indicate questions
  80. new to this issue; those with significant changes of content since the 
  81. last issue are marked by '!'.
  82.  
  83.  
  84.                 Questions
  85.  
  86.  1)!       How to get DNS working when not running NIS ?
  87.  2)     How to get DNS to be used when running NIS ?
  88.  3)     How to properly setup NFS mounting of /var/spool/mail ?
  89.  4)       Can I use AnswerBook under X11R5?
  90.  5)     What does "NFS write error X" mean?
  91.  6)     How do I find the amount of memory installed or other
  92.     system configuration information?
  93.  7)     Where can I get a version of ftp that does logging?
  94.  8)    Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  95.  9)       How to setup Openwindows Calendar Manager in a distributed
  96.     environment?
  97. 10)      Why does the talk command fail between SunOS
  98.     and any other manufacturer's equipment(like DEC)? 
  99. 11)      How do I setup "anonymous" ftp?
  100. 12)     How come yppasswdd does not automatically update the yp maps?
  101. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  102. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  103. 15)!    Can I replace the 105 megabyte internal drive with a higher capacity
  104.         model?
  105. 16)     How can I turn my Sun3 into an X-Terminal?
  106. 17)    Why is my console login prompt garbled or in some strange 
  107.     alphabet after upgrading to 4.1.3?
  108. 18)      Why are the "random" missing services at boot time(even
  109.     though the services are in the /etc/services file or NIS map)?
  110. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  111.     a reasonable price)?
  112. 20)       What is "archie"?
  113. 21)!    How do I synchronize time on my Network?
  114. 22)      What is the phone number for Sun Express and other numbers of importance
  115.     to Sun Users? 
  116. 23)     How do I join sun related  mailing lists?
  117. 24)    How do I use Mac floppies in a SUN drive?
  118. 25)     How can I transfer floppies back and forth between MS-DOS and Sparc?
  119. 26)    Why is my biff not "biffing" when using biff in a networked
  120.     environment?
  121. 27)    How do I disable L1-A(STOP-A) or re-map it?
  122. 28)      Why are all the local users "unknown" when using sendmail under 4.1.2?
  123. 29)     What are the dump parameters for an exabyte 8200 or 8500?
  124. 30)     What are the guidelines for setting up swap space ?
  125. 31)    What are the general guidelines for maxusers to be set to on machine X?
  126. 32)    What does "zsN: silo overflow" mean?
  127. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  128.     signify?
  129. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  130. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  131.     connection to some non-Sun machine; it won't log in.  What's wrong?
  132. 36)     Do the Sun serial ports support RTS/CTS flow control?
  133. 37)    How do I specify that a serial port should, or should not, ignore the
  134.     state of the Carrier Detect line?
  135. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  136.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  137. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  138.     Control, and Esc keys inconvenient.  How do I remedy this?
  139. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  140.     Caps Lock and Control keys on a Type 5 keyboard?
  141. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  142. 42)      How do I change the time zone setting on my machine?
  143. 43)    I'm getting messages that say one of the following:
  144.          proc: table is full    and/or
  145.             file: table is full    and/or
  146.             dquot: table is full     and/or
  147.             inode: table is full
  148.          What do these errors mean, and how do I fix the problem?
  149. 44)      Blank at present.
  150. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  151.     applications under X11R5?
  152. 46)      Where do I find a "restricted" shell for SunOS?
  153. 47)       Will SunOS 4.1.x binaries run under SunOS 5.x?
  154. 48)!    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  155.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  156.     _get_applicationShellWidgetClass). What is the Problem?
  157. 49)!       What is Solaris?
  158. 50)     What does the "nres_gethostbyaddr !=" error mean?
  159. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  160.         how do I repair it?
  161. 52)     After rebuilding the shared library libc it get some or all the 
  162.     following undefined symbols: dlsym, dlopen, dlclose mbstowcs_xccs,
  163.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  164. 53)     What does "No network locking on host" mean after upgrading to
  165.     Solaris 2.0?
  166. 54)     Does Password Aging work with NIS(YP) ?
  167. 55)!    What does "rpc.lockd: Cannot contact status monitor!" mean?
  168. 56)    How do I join the Sun User Group(SUG)?
  169. 57)       How do I increase the number of "pseudo" terminals(ptys) ?
  170. 58)      Where are dump and restore under Solaris 2.x?
  171. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  172. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  173.     under Openwindows 3.0?
  174. 61)!       Which Sun models run which versions of SunOS?
  175. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  176. 63)!    Table of Solaris2.x commands and their Solaris1.x equivalents?
  177. 64)     How do I setup DNS on Solaris2.x?
  178. 65)       Can a SPARCclassic or LX run SunOS 4.1.3?
  179. 66)      I just restored my root partation and now I can not boot. What
  180.     is wrong?
  181. 67)     How do I disable/enable packet forwarding?
  182. 68)      How do I disable the printing of banners pages?
  183. 69)     How do I change my hostname?
  184. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  185. 71)     Where can I get the BSD print spooler for Solaris2.x?     
  186. 72)     Where is the Solaris2.x screenblank?
  187. 73)      Is there a command to display the configuration of 
  188.     currentily attached SCSI devices?
  189. 74)     My printer will not print large files(over 1-megabyte), I 
  190.     keep getting "file to big" errors. What do I do?
  191. 75)     I keep getting "data corruption" when using NFS over a wan,
  192.     or slip/ppp link. What do I do? 
  193. 76)     Does anybody know how to enable UDP checksum on NFS?
  194. 77)     Is there a mailing list for Wabi?
  195. 78)     Are there any public domain Multi-Vendor backup management
  196.         systems?
  197. 79)+     How to determine the revision of SuperSPARC processor.
  198. 80)+    How do I install SunOS4.1.x by hand(off a CD)?
  199. 81)+    Why won't my SUN207 (Maxtor LXT213) hard drive work in
  200.         my SPARCstation 10/xx?
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.                 Answers
  208.  
  209.  1)     How to get DNS working when not running NIS ?
  210.  
  211.     Note: Solaris2.x users should see question 64..
  212.     
  213.         The "normal" behavior of a hostname lookup under NIS is to
  214.         consult the NIS hosts map and then DNS (if configured). If
  215.     you are not running NIS the system will only look in 
  216.     the /etc/hosts file. 
  217.  
  218.     You have two options to correct this situation:
  219.  
  220.         A) Re-build the shared library version of libc with replacement
  221.            resolver routines which understand DNS. Resolv+ provides one
  222.                of the best sets of replacement routines and it cames with
  223.            detailed instructions. Also, it will take of fixing the
  224.            many problems with the normal Sun shared library rebuild.
  225.            Finally, resolv+ can be obtained from thor.ece.uc.edu.
  226.            Get the file /pub/sun-faq/resolv+2.1.1.tar.Z.
  227.  
  228.            Rebuilding the shared library will not allow  statically
  229.            linked binaries to do name resolving and these binaries
  230.            will only use /etc/hosts. You can get "dynamically linked"
  231.            replacements for these via anonymous ftp to 
  232.            thor.ece.uc.edu(129.137.8.118) and get the file
  233.                /pub/sun-faq/rcp-mount.dynamic.tar.Z.
  234.            This file only contains sun4 binaries.
  235.         
  236.            A statically linked version of mount that uses DNS
  237.            instead of NIS is available from thor.ece.uc.edu also.
  238.  
  239.             
  240.            To be able to rebuild shared libraries you need to 
  241.            install the "shlib custom" option which is avaiable
  242.            with SunOS version 4.1 or greater. 
  243.  
  244.            If you want to do it under 4.0.3 you need to get the
  245.            patches available from ftp.uu.net(192.48.96.9) in the
  246.            /systems/sun/sun-fixes directory. You will need the following
  247.            files: 
  248.             lib.msg, libc_pic.a.sun3 or libc_pic.a.sun4 and
  249.             libc_resolv.so.sun3 or libc_resolv.so.sun4
  250.  
  251.            Make sure to get the README that cames with these files.
  252.            It is in the same directory.
  253.            
  254.                Note: You can still use NIS for other things in environment,
  255.                            such as passwd, and group maps.
  256.  
  257.         B) Run NIS with the "hosts" maps only. If you 
  258.            only need DNS capability than change the "all"
  259.            line /var/yp/Makefile to "all:  hosts".  
  260.  
  261.            It does not require any changes to shared libraries.
  262.         
  263.            See question 2 for complete directoins on how to setup
  264.            DNS with NIS.
  265.  
  266.  2)     How to get DNS to be used when running NIS ?
  267.  
  268.     First setup the appropriate /etc/resolv.conf file.
  269.     Something like this should do the "trick". 
  270.  
  271.     ;
  272.     ; Data file for a client.
  273.     ;
  274.     domain        local domain 
  275.     nameserver    address of primary domain nameserver
  276.     nameserver    address of secondary domain nameserver 
  277.  
  278.     where:    "local domain" is the domain part of the hostnames.
  279.          For example, if your hostname is "thor.ece.uc.edu"
  280.          your "local domain" is "ece.uc.edu".
  281.  
  282.     You will need to put a copy of this resolv.conf on
  283.     all NIS(YP) servers including slaves.
  284.  
  285.     Under SunOS 4.1 and greater, change the "B=" at the top
  286.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  287.     usual fashion.   
  288.  
  289.     You will need reboot or restart ypserv for these changes
  290.     to take affect.
  291.  
  292.     Under 4.0.x, edit the Makefile or apply the following "diff":
  293.  
  294. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  295. --- Makefile    Wed Jan 10 13:22:01 1990
  296. ***************
  297. *** 63 ****
  298. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  299. --- 63 ----
  300. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  301. ***************
  302. *** 66 ****
  303. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  304. --- 66 ----
  305. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  306.  
  307.  
  308.  
  309.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  310.  
  311.     On the Client machines:
  312.  
  313.         A) mount /var/spool/mail with the no attribute caching
  314.            option.
  315.         
  316.            An example, fstab line would be the following:
  317.  
  318.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  319.  
  320.         B) Use a sendmail.cf that forces all mail to be delivered
  321.            by the mailhost. 
  322.  
  323.            One such file is available via anonymous ftp to 
  324.            thor.ece.uc.edu. Get the file 
  325.  
  326.                 /pub/sun-faq/sendmail.client.cf
  327.  
  328.            Do not use the OR option that Sun provides. It is broken
  329.            in many ways.
  330.  
  331.     On the server machine:
  332.     
  333.         A) Setup DNS MX records pointing to the mailhost for
  334.            all client machines.
  335.  
  336.         B) Edit the /etc/exports file to export /var/spool/mail
  337.            to the mail client machines. You may want
  338.            to use a netgroup for this purpose.
  339.  
  340.         C) Setup the /etc/sendmail.cf on the server recognize
  341.            that mail to/from a client is "local".
  342.  
  343.            One such file is available via anonymous ftp to 
  344.            thor.ece.uc.edu. Get the file 
  345.  
  346.                 /pub/sun-faq/sendmail.server.cf
  347.         
  348.     Note:     You may want to install Berkeley sendmail instead of Suns
  349.         stock sendmail. 
  350.  
  351.  
  352.  
  353.  4)     Can I use AnswerBook under X11R5?
  354.  
  355.     AnswerBook in its current form requires the Openwindows
  356.     server. It uses the NeWS extensions(Postscript) extensions
  357.     to this server to display the Answerbook files.
  358.  
  359.     To use AnswerBook under X11R5 you will need to replace the 
  360.     docviewer program with xdocviewer.  Xdocviewer does not support
  361.     all the options that the "real" docviewer supports such
  362.     as "hypertext" links.
  363.  
  364.     To install "xdocviewer" you will need the following programs.
  365.  
  366.         Perl-4 patchlevel 35  
  367.         Ghostscript 2.4 or above
  368.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  369.  
  370.         All of these are available from prep.ai.mit.edu. They are 
  371.         located in the /pub/gnu directory.
  372.  
  373.         Finally, you need xdocviewer. It is available from the
  374.         /contrib directory on host ftp.x.org.
  375.  
  376.  
  377.  5)     What does "NFS write error X" mean?
  378.  
  379.         You can lookup the error codes in /usr/include/sys/errno.h.
  380.  
  381.         Two common NFS error codes are 13 - "permission denied" and 70 -
  382.         "stale file handle".
  383.  
  384.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  385.     it can occur because someone has changed the /etc/exports
  386.     entry to disallow the client after the client has already
  387.     been granted permission to perform this operation.
  388.  
  389.         Error code 70 occurs when the file handle on the
  390.     NFS server changes for a particular filesystem.
  391.     The "file handle" can be changed under the following
  392.     circumstances:
  393.         
  394.         A) Installing a new drive in place of an old.
  395.  
  396.         B) Moving a filesystem from one devices to
  397.            another.
  398.  
  399.         C) Performing a format, newfs, dump, and restore
  400.            cycle. Even if to the same device.
  401.  
  402.         D) Unmounting a file system without remounting it.
  403.  
  404.         E) Unmounting a High Sierra/ISO 9660 CD-ROM and
  405.                mounting a different CD.
  406.  
  407.         You can usually get rid of the error by unmounting and
  408.         remounting the filesystem in question. 
  409.  
  410.     Also, error code 70 can occur when someone removes a file 
  411.     that a process is actively writing from a NFS client machine.
  412.  
  413.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  414.         "file handle" given in the error message into a Unix pathname.
  415.         Beware that showfhd does a "find" on your server to get the
  416.         filename.  "man 2 intro" will give you some more general
  417.         information on what error codes could mean.
  418.  
  419.     You will need a patch to get "showfh" to work correctly. The patch
  420.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  421.     This patch has been integrated into 4.1.3.
  422.  
  423.  6)    How do I find the amount of memory installed or other
  424.     system configuration information?
  425.  
  426.     You can use the "devinfo" command to find out genera information 
  427.     about the hardware attached to your Sun. The "devinfo" command is 
  428.         only available on desktop SPARCsystems, SPARCengine 1E(although not
  429.         in the version used in Auspex systems), or 600MP series server only.
  430.  
  431.     Also, most clones should support devinfo.  Any machine that has an 
  432.     SBus will probably support "devinfo"; any machine that doesn't have an
  433.     SBus probably won't support "devinfo".
  434.     
  435.     The "best" command for the job is "sysinfo". Sysinfo is public
  436.     domain utility available via "anonymous" ftp on usc.edu in directory
  437.     /pub/sysinfo. Sysinfo works on all Sun architectures(inculding Sun-3s)
  438.         as well as many other UNIX boxes such as Ultrix, and Next. Also,
  439.     it works on SunOS5.x machines.
  440.  
  441.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  442.                the like will *not* give the correct answer on machines 
  443.            where physical memory is not contiguous, such as many Suns.
  444.  
  445.  
  446.  7)     Where can I get a version of ftp that does logging?
  447.  
  448.     Get the wuarchive ftp daemon. It is available from
  449.         wuarchive.wustl.edu (128.252.135.4) in the directory
  450.         /packages/wuarchive-ftpd
  451.  
  452.     A version of the wuarchive ftpd daemon that compiles right out
  453.     of the box for Solaris2.x machines can be had from
  454.     thor.ece.uc.edu(129.137.8.118) in the /pub/sun-faq directory.
  455.     Remember to specify your own paths in the src/pathnames.h file.
  456.  
  457.     The stock Sun ftpd will log some information if you add the "-l"
  458.            flag in /etc/inetd.conf:
  459.  
  460.             ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  461.  
  462.         Also enable syslogd by adding:
  463.  
  464.         daemon.info      /var/adm/syslog
  465.  
  466.         to "/etc/syslog.conf".
  467.  
  468.  
  469.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  470.  
  471.         Many anonymous ftp sites have partial collections of patches.
  472.         These sites include the following:
  473.  
  474.                 ftp.uu.net:/systems/sun/sun-dist/
  475.         ftp.EU.net:/sun/fixes/
  476.             sunline.epfl.ch:/pub/sun-patches/
  477.         ftp.ucs.ubc.ca:/pub/ubc/sun-patches/
  478.         thor.ece.uc.edu:/pub/sun-faq/SunOS4.1.x.Patches
  479.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.1-patches
  480.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.2-patches
  481.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.3-patches
  482.  
  483.     Note: You should always attempt to find a local site before
  484.           using the above.
  485.  
  486.     ftp.uu.net and ftp.EU.net are  the "official" distribution points 
  487.     for SunOS security patches.
  488.  
  489.         Also, you should use "archie" to look for specific patches.
  490.  
  491.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  492.         patches.
  493.  
  494.  
  495.  9)    How to setup Openwindows Calendar Manager in a distributed
  496.     environment?
  497.  
  498.     Sun's original assumption that each user has a permanent machine 
  499.     allocated to them is not applicable in most environments. Just as 
  500.     users send mail to 'user' rather than 'user@machine', users want 
  501.     to browse others user's calendars and do not care or want to know
  502.     where the calendar is actually stored.
  503.  
  504.     Here is procedure to accomplish our goal. All calendars
  505.     will be stored on a central server. The initial setup
  506.     must be done on the server.
  507.  
  508.         A) Have the user login to the calendar host(calhost)
  509.            machine.
  510.         
  511.         B) Change everyone's .cm.rc file so that 
  512.            Calendar.DefaultCal points to user@calhost
  513.  
  514.            calhost can be an hostname alias or an actual
  515.            hostname. You may want to use the alias
  516.            just in case you change the "calhost" later.
  517.     
  518.         C) Change their Access List and Permissions (under
  519.                Edit/Properties) to show user@client with BID (browse,
  520.                insert, delete) permissions for any client machine the
  521.            user wanted to access their calendar from.
  522.  
  523.     Notes: If you use the scheme you should not NFS mount 
  524.            /var/spool/calendar on the client machines.
  525.  
  526.     or
  527.  
  528.     You can install the "Proxy OpenWindows Calendar Manager", which
  529.     is available via anonymous FTP from thor.ece.uc.edu in
  530.     /pub/sun-faq/proxy-cmsd.tar.Z.
  531.  
  532.     or
  533.     
  534.     You can install the "new cm daemon" which allows you to access
  535.     several Calendar hosts at once. It implements the "orignal"
  536.     rpc.cmsd daemon semantics(unlike proxy-cmsd) and thus all
  537.     the features(of CM) will work as documented.  The latest source
  538.     for this daemon is always available via anonymous FTP from
  539.     ftp.amdahl.com (129.212.11.1) in the  /pub/newcm_d directory.
  540.     Also, it is available from thor.ece.uc.edu as
  541.     /pub/sun-faq/newcm_d-1.3.tar.Z
  542.  
  543.     As of this writing newcm is being ported to Solaris2.x.
  544.  
  545. 10)     Why does the talk command fail between SunOS
  546.     and any other manufacturer's equipment(like DEC)? 
  547.  
  548.     SunOS has the old BSD 4.2 version of talk. The old talk
  549.     uses "machine dependent" byte ordering. Since
  550.     DEC has different byte order the two talks can not
  551.     communicate(even if you use "otalk" on the DEC
  552.     machines).
  553.     
  554.     Also, most vendors have the newer version of 
  555.     talk from BSD-4.3 and this version is not compatible
  556.     with the Sun Version(which is BSD-4.2).
  557.  
  558.     The solution is to get and install the new version
  559.     of talk because it uses "network" byte ordering and
  560.     it is compatible with most Vendors current talk 
  561.     implementations.
  562.     
  563.     "New Talk" is available via anonymous ftp from several
  564.     sites including thor.ece.uc.edu. Get the file 
  565.     /pub/sun-faq/ntalk.tar.Z.   Solaris2.x users will need
  566.     to compile this in Berkeley compatability mode.
  567.     
  568.     Finally, a progrom called Ytalk can be used with either
  569.     "New talk" or "Old talk" and compiles on all versions
  570.      of SunOS(Greater than 4.x including 5.x).
  571.     Ytalk can be obtained from thor.ece.uc.edu. Get the file
  572.         /pub/sun-faq/ytalk-3.0.1.tar.gz
  573.  
  574. 11)    How do I setup "anonymous" ftp?
  575.     
  576.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  577.         the procedure differs from vanilla BSD and most examples in 
  578.         system administration books. 
  579.  
  580.     The "ls" binary is dynamically linked, requiring you to 
  581.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  582.     The permissions and ownership of the files within the 
  583.         ftp area are critical to having a secure configuration.
  584.     
  585.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  586.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  587.  
  588.     You can use a "statically" linked binary from the GNU
  589.     fileutils instead of the "dynamically" linked SunOS
  590.     version. You can get the GNU fileutils from prep.ai.mit.edu
  591.     in the directory /pub/gnu
  592.  
  593.     There is also a statically linked version of ls for Suns
  594.     running SunOS 4.1.x, available via anonymous ftp from
  595.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  596.  
  597.     A complete procedure to setup anonymous under SunOS is
  598.     available via anonymous ftp to thor.ece.uc.edu. Get
  599.     the file /pub/sun-faq/anon-ftp.how-to.
  600.  
  601.     There is an _excellent_ script written by Peter N. Lewis
  602.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  603.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  604.  
  605. 12)     How come yppasswdd does not automatically update the yp maps?
  606.  
  607.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  608.         the command line arguments.  A work-around is to add the
  609.         "-nosingle" flag (which is the default), this shifts the
  610.         arguments over one, so "passwd" is read instead of "-m".
  611.     Also, you should use the complete path to rpc.yppasswdd
  612.  
  613.         For example:
  614.  
  615.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  616.  
  617.     Note: Only use the DIR=/var/yp if your source files for passwd, group,
  618.           etc are in /var/yp. If they are in /etc you do not need
  619.               to specify DIR=
  620.             
  621.         If you are running the C2 security package, you should apply
  622.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  623.     and rpc.pwdauthd. The patch number is
  624.  
  625.     100201-04 for SunOS 4.1 and 4.1.1
  626.     100564-06 for SunOS 4.1.2 and 4.1.3
  627.  
  628. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  629.  
  630.         You are probably running a pre-4.0 version of NFS and your
  631.         username is in more than 8 groups.  There is a limit on the
  632.         number of groups that could be represented in the rpc service
  633.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  634.         Since many vendors other than Sun are still running old versions
  635.         of NFS, you might see this error even if your SunOS is recent.
  636.  
  637.         Authentication errors are also caused by having secure RPC
  638.         enabled on the client but not on the server, or by having a
  639.         misconfigured secure RPC configuration for the user name
  640.         generating the errors.  Beware of this problem when you are
  641.         using the automounter, as programs (such as Sendmail) may
  642.         silently fail when when they try to mount a directory
  643.         and get this error.
  644.  
  645.  
  646. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  647.  
  648.     This the now infamous Quantum drive "stickation" problem.
  649.  
  650.     If the drive is allowed to cool down(even for a short period 
  651.     of time) the drive lubricant will congeal and prevent the disks
  652.     platters from rotating. 
  653.  
  654.     Before you get a replacement, try lightly tapping
  655.         the drive to loosen the lubricant. If this does not work try
  656.     shaking and twisting the drive at the same time. One last
  657.     thing to try is to lift the system up a couple of inches
  658.     and drop it.
  659.  
  660. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  661.         model?
  662.  
  663.     The newer disk drives can be used without worrying about heat
  664.     or power supply capacity problems. 
  665.  
  666.     However, older technology drives drives create more heat and draw
  667.     more power than the 105S.  The case cooling ability and power supply
  668.         in the SS-1 and SS-1+ are not adequate for the 210 megabyte or higher
  669.         capacity drives possible in the SS-2.
  670.  
  671.     As long as you make sure that the drive draws no more power
  672.     than the 105-Meg drive you should have no problems.
  673.  
  674.     Only the SPARCstation 1 and 1+ have these limitations.
  675.  
  676. 16)     How can I turn my Sun3 into an X-Terminal?
  677.  
  678.         You can use Seth Robertson's Xkernel package.  It is available
  679.         via anonymous ftp from ftp.ctr.columbia.edu (128.59.64.40) in
  680.         /Xkernel.  The package describes how to configure a minimal kernel
  681.         that runs the X server and offloads all the clients onto another,
  682.         hopefully more powerful host on the network. 
  683.  
  684.     As of this writing the current version of Xkernel is 2.0 and
  685.     it should work on both SPARC and Sun3 platforms.
  686.  
  687.     Xkernel is attractive to some sites that have a large investment in 
  688.         sun3 platforms, as moving  most of the processing off the sun3 
  689.         cpu makes it tolerable to use.  
  690.  
  691.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  692.         you get a 19" monitor with an optical mouse.  
  693.  
  694.  
  695. 17)    Why is my console login prompt garbled or in some strange
  696.     alphabet after upgrading to 4.1.3?
  697.  
  698.         The problem is /etc/ttytab, with 4.1.3, the console is now
  699.     able to display 8 bits characters and getty must take this 
  700.     into account.
  701.  
  702.     The solution is easy, replace your console entry in /etc/ttytab 
  703.     by the following, the important part is 'cons8':
  704.  
  705.     console "/usr/etc/getty cons8"  sun             on local secure
  706.  
  707.     Also, if you did an upgrade(instead of a full install) you may 
  708.     need to add the following to your /etc/gettytab.
  709.  
  710.     # This is a new entry to internationalize the console.  It needs to be
  711.     # 8 bit clean so that ISO 8859 characters can be displayed without
  712.     # the window system.
  713.     #
  714.     cons8:\
  715.             :p8:lm=\r\n%h login\72 :sp#9600:
  716.  
  717.  
  718. 18)    Why are there "random" missing services at boot time(even
  719.     though the services are in the /etc/services file or NIS map)?
  720.  
  721.     The three primary causes for "random" missing services are
  722.     as follows:
  723.  
  724.         A) "Blank" lines in /etc/services on the YP/NIS Master.
  725.            Delete the blank line and remake the services map.
  726.  
  727.         B) NIS/YP server not responding quickly enough
  728.            to the "getservbyname" call because each getservbyname
  729.            call reads the whole map.  One fix is to replace the 
  730.            systems version of inetd with a version that re-tries the
  731.            "unknown" service.
  732.  
  733.            I have "hacked" a version of munetd(public domain
  734.            replacement for inetd) to do this. It is available
  735.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  736.  
  737.            Another solution to this problem is outlined in part C below.
  738.  
  739.         C) Sun's implementation of the services map is incorrect. To
  740.                correct this problem you will need to replace some library
  741.            routines in libc and rebuild the shared library.
  742.            These routines and directions on installing them are
  743.            available from thor.ece.uc.edu.  Get the file 
  744.            /pub/sun-faq/getservent.tar.Z.
  745.  
  746.         D) Another fix(if you do not want to modify your libc's) is
  747.            to just remove the services map from NIS. However,
  748.            you will need to update the services file by hand on
  749.            all clients. We are running all NIS hosts this way and
  750.                it seems to work quite well.
  751.         
  752.  
  753. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  754.     reasonable price)?
  755.  
  756.     Here is an incomplete list of vendors how have "data certified"
  757.     tapes for the exabyte.
  758.  
  759.     Misco               800-876-1726   $12 - 15 each.    
  760.     TecBridge          800-972-7405   $12 - 15 each.
  761.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  762.     K and K Systems          612-475-1527     $10 Each
  763.     SCR              314-739-0808     $10.95 for Memorex
  764.  
  765. 20)    What is "archie"?
  766.  
  767.     Archie is a database of what is on several thousand anonymous 
  768.     ftp sites. 
  769.  
  770.     To use archie get one of the three archie clients which
  771.     are as follows:
  772.  
  773.         xarchie        -    For use under X11
  774.         c-archie    -     Curses version of Archie
  775.         archie        -     Perl Version of Archie
  776.     
  777.     Theses are available from archie.ans.net in the directory 
  778.     /pub/archie.
  779.  
  780.     List of other publicly available archie servers:
  781.  
  782.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  783.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  784.                                           in Lincoln)
  785.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  786.     archie.ans.net       147.225.1.2     (ANS archie server)
  787.     archie.au            139.130.4.6     (Australian server)
  788.     archie.funet.fi      128.214.6.100   (European server in Finland)
  789.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  790.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  791.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  792.     archie.th-darmstadt.de 130.83.128.111 (German server)
  793.  
  794.     
  795. 21)    How do I synchronize time on my Network?
  796.  
  797.     You should use xntp version 3 to synchronize your time. Xntp 
  798.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  799.     xntp time should always be within a few "milliseconds" of the
  800.     actual time. Xntp does not require a "atomic" clock, any
  801.     stable UNIX host clock will do.
  802.  
  803.     xntp is available from louie.udel.edu. 
  804.     Get the file /pub/ntp/xntp3?.tar.Z where ? is replaced by the
  805.     latest version letter.
  806.  
  807.     You will need clock.txt available from the same place.
  808.  
  809.     xntp works with all versions of SunOS(4.x and 5.x).
  810.  
  811.     Note: There is a Mac Control version of XNTP now available.
  812.  
  813. 22)    What is the phone number for Sun Express and other numbers of importance
  814.     to Sun Users? 
  815.  
  816.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  817.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  818.  
  819.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  820.                             Santa Clara, CA 95054
  821.                             (800) 735-3177 or (408) 492-0900
  822.                                 Fax: (408) 492-0909
  823.     
  824.  
  825. 23)     How do I join sun related  mailing lists?
  826.  
  827.     Mailing Lists:
  828.  
  829.     Sun Managers:    Used for "emergency" information only. The
  830.             users of this list are "very" knowledgable.
  831.         sun-managers-request@eecs.nwu.edu    add requests
  832.         sun-managers@eecs.nwu.edu        submissions
  833.  
  834.         Sun-386i:   discussion about the Sun 386i product
  835.             sun-386i-request@ssg.com        add requests
  836.             sun-386i@ssg.com                    submissions
  837.  
  838.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  839.                         systems at home
  840.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  841.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  842.  
  843.         Auspex:  managers of Auspex NFS file servers
  844.             auspex-request@princeton.edu                    add requests
  845.             auspex@princeton.edu                            submissions
  846.  
  847.         Epoch:  managers of Epoch NFS file servers       
  848.             EPoch Users Forum  (EPUF)             
  849.             epuf-request@mcs.anl.gov                        add requests 
  850.             epuf@mcs.anl.gov                                submissions
  851.  
  852.     sun-flash: Provides articles about Sun products 
  853.            and services.
  854.  
  855.         Subscription request should be sent to
  856.             sunflash-request@sunvice.East.Sun.COM
  857.  
  858.  
  859.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  860.              send mail to the REQUEST address!  Do not send add requests 
  861.          to the main address!
  862.  
  863.  
  864. 24)    How do I use Mac floppies in a SUN drive?
  865.     
  866.     The easiest way is to use suntar on the Macintosh to
  867.     copy files to a "high density" floppy.  Then you can use 
  868.     "tar" on the Sun to get the files off the floppy.
  869.  
  870.     It is available from sumex-aim.stanford.edu. Get the file
  871.     /info-mac/util/suntar-131.hqx
  872.  
  873.     Also, you could use the Apple File Exchanger to translate
  874.     the files to MS-DOS format. Then use one of the methods
  875.     for transferring MS-DOS disks to Sun.
  876.  
  877.  
  878.     Note: There are  several commercial packages available for
  879.           this purpose.
  880.  
  881.           Also, low density Mac floppies are not comparable with
  882.           low density Sun floppies. 
  883.  
  884.  
  885. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  886.  
  887.     There are two packages which allow you to do this(mtools and mntdisk).
  888.     Both of these packages use the 3-1/2inch floppy drive available
  889.         on most SPARCstations. With the advent of the Volume manager
  890.     in Solaris2.2 these programs have been rendered somewhat obsolete.
  891.  
  892.     Mtools writes directly to the floppy device and it does not
  893.     require special privileges. It is faster than mntdisk
  894.     but it requires the user to learn a new set of commands.
  895.     A copy of mtools can be found on thor.ece.uc.edu. Get
  896.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  897.  
  898.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  899.     mounted you can use regular UNIX commands(cp,mv,and rm)
  900.     to access it. The pcfs filesystem is quite slow compared
  901.     to using mtools above.  Mntdisk is available in your local 
  902.     comp.sources.misc archive, Volume 22, Issues 31-33. 
  903.     Mntdsk can be used to mount CD-ROMS and even UFS floppies.
  904.  
  905.     Note:    You should not use "setuid" shell scripts for
  906.         mounting floppies.
  907.  
  908.  
  909. 26)    Why is my biff not "biffing" when using biff in a networked
  910.     environment?
  911.  
  912.     In its current form comsat/biff are only usable on the mail
  913.     server. You need to replace them network capable programs.
  914.  
  915.     A shar file containing network capable versions of comsat
  916.     and biff is available from thor.ece.uc.edu. Get the
  917.     file /pub/sun-faq/biff-comsat.
  918.  
  919. 27)    How do I disable L1-A(STOP-A) or re-map it?
  920.  
  921.     You need to get one of the many re-mapping programs. Two
  922.     of these are available from thor.ece.uc.edu. Get the file
  923.     disable-L1-A.tar.Z
  924.  
  925. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  926.  
  927.     There is a known problem with sendmail and frozen config
  928.     files under 4.1.2.
  929.  
  930.     The fix is to remove /etc/sendmail.fc. Also, You could 
  931.     try moving it to the end of /etc/rc.local.
  932.     
  933.     However, the best "fix" may be to install the new Berkeley 
  934.     Sendmail it has a number of enhancements, performance
  935.     improvements, and security enhancements.
  936.     
  937.     You can get Berkeley sendmail from ftp.cs.berkeley.edu(128.32.149.78).
  938.     Get the following files: /ucb/sendmail/*8*6*4*
  939.                  /ucb/4bsd/db.tar.Z
  940.     Also, you will need bind 4.9 and it can be found on
  941.     gatekeeper.dec.com(16.1.0.2) in the /pub/BSD/bind/4.9
  942.     directory.
  943.  
  944.     Finally, if you do not want to build the Berkeley sendmail for
  945.     yourself I will be willing to mail you a copy.
  946.  
  947. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  948.  
  949.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  950.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  951.                           
  952.     Note: Under 4.1.2 and above you should use rst8. Previous
  953.           versions did not do anything special for the 8500.
  954.  
  955.     Note: These parameters are not needed for 5.1.x because
  956.           it computes these values from the type of Tape Drive
  957.           you are using. Also, 5.1.x knows about end of tape
  958.           and does the right thing when it reaches it.
  959.  
  960. 30)    What are the guidelines for setting up swap space ?
  961.  
  962.     In SunOS 4.x the amount of swap space and Virutal memory 
  963.     are one in the same so you need at least as much swap
  964.     as real memory.
  965.  
  966.     In SunOS 5.x the amount of Virutal memory is equal
  967.     swap space plus real memory. Under SunOS 5.x you
  968.     can actually get away with having no swap space at
  969.     all. We are running a SPARCserver 1000 with no swap
  970.     and 192-Meg of real memory.
  971.  
  972.     The old rule of thumb is 1.5 to 2 times real memory. This
  973.     can lead to wasted disk space(by having too much swap
  974.     space) or to not having enough. What you need to do
  975.     is to estimate your swap space needs.
  976.  
  977.     Note: This question is still being worked on.
  978.  
  979.  
  980. 31)    What are the general guidelines for maxusers to be set to on machine X?
  981.  
  982.     This question is being written.
  983.  
  984. 32)    What does "zsN: silo overflow" mean?
  985.  
  986.         The CPU serial ports - both ordinary serial ports A and B, and
  987.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  988.         chip.  That chip has a 3-character on-board buffer called the
  989.         "silo".  If a character arrives in the silo, the chip interrupts
  990.         the CPU at a high priority, and the interrupt service routine
  991.         reads the character out of the silo.
  992.  
  993.         If the interrupt isn't serviced in time, more than 3 characters
  994.         can be placed in the silo by the chip; if so, the chip notes
  995.         that the silo "overflowed", and the interrupt service routine,
  996.         when called, will note that a "silo overflow" occurred.
  997.  
  998.         If the machine is printing a message from the kernel, interrupts
  999.         from the chip will be held off; if the message takes long enough
  1000.         to print, and characters are coming in quickly enough on the
  1001.         serial port, more than 3 can arrive, and a "silo overflow" will
  1002.         occur.
  1003.  
  1004.         It is possible that a machine that's sufficiently busy in other
  1005.         code that runs with interrupts held off could get a silo
  1006.         overflow as well.
  1007.  
  1008. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  1009.     signify?
  1010.  
  1011.         The name "zsN" is ambiguous.
  1012.  
  1013.         In kernel "config" files, and in the boot-time autoconfig
  1014.         messages, "zs0" is the first on-board Z8530 chip, the two
  1015.         channels of which handle "ttya" and "ttyb", respectively, and
  1016.         "zs1" is the second on-board Z8530 chip, the two channels of
  1017.         which handle the keyboard and mouse ports, respectively.
  1018.  
  1019.         In "zsN: silo overflow" messages and the like:
  1020.  
  1021.                 "zs0" is the A channel on the first on-board Z8530, handling
  1022.                     "ttya";
  1023.  
  1024.                 "zs1" is the B channel on the first on-board Z8530, handling
  1025.                     "ttyb";
  1026.  
  1027.                 "zs2" is the A channel on the second on-board Z8530, handling
  1028.                     the keyboard;
  1029.  
  1030.                 "zs3" is the B channel on the second on-board Z8530, handling
  1031.                     the mouse.
  1032.  
  1033.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  1034.         overflow" error is for "ttyb", not for the keyboard or mouse.
  1035.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  1036.         overflows are "zs3: silo overflow".
  1037.  
  1038.  
  1039. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  1040.  
  1041.         You need to read Chapter 11 in  the "Systems and Network 
  1042.     Administration" manual.
  1043.  
  1044.  
  1045. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  1046.     connection to some non-Sun machine; it won't log in.  What's wrong?
  1047.  
  1048.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  1049.         into another machine.  If the other machine is running in 8
  1050.         bits, no parity, mode, the fact that the 8th bit is set on some
  1051.         of the characters the Sun is sending to it will confuse it.
  1052.  
  1053.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  1054.         the appropriate place in the appropriate UUCP configuration file
  1055.         [I may have been the one to put P_ZERO there, but I forget the
  1056.         details; it's in the send-expect sequence in the Systems file
  1057.         entry for the machine, and I think you have an "expect" string
  1058.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  1059.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  1060.         "Systems and Network Administration" document to make sure.]
  1061.  
  1062.  
  1063. 36)    Do the Sun serial ports support RTS/CTS flow control?
  1064.  
  1065.         The serial port hardware can do CTS-based control of the flow of
  1066.         data *from* the Sun *out* the serial port automatically.  The
  1067.         tty driver option for that is the CRTSCTS option; it can be
  1068.         specified in:
  1069.  
  1070.                 the "printcap" "ms" capability for a printer;
  1071.  
  1072.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  1073.                 for a dial-in port;
  1074.  
  1075.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  1076.                 [check the UUCP documentation for details];
  1077.  
  1078.         and can be specified with the "hf" capability in "/etc/remote"
  1079.         for "tip".
  1080.  
  1081.         The hardware cannot directly do RTS-based control of the flow of
  1082.         data *into* the Sun, and the software does not currently support
  1083.         controlling the flow of data into the Sun with RTS.
  1084.  
  1085.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1086.  
  1087.         control performed by the OS; in fact, the OS ignores the
  1088.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1089.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1090.         set them to change the way the OS handles the tty, and even if
  1091.         you do set them, it won't change the way the OS handles the tty.
  1092.  
  1093.     Sun has released a new jumbo tty patch 100513-04 for SunOS 4.1.2 
  1094.     and 4.1.3 that incorporates changes to the tty driver to
  1095.     support RTS/CTS handshaking. Anyone trying to get RTS/CTS
  1096.     handshaking to work should get this patch.
  1097.  
  1098.  
  1099. 37)    How do I specify that a serial port should, or should not, ignore the
  1100.     state of the Carrier Detect line?
  1101.  
  1102.         Prior to SunOS 4.1, you do so either by:
  1103.  
  1104.                 changing the "flags" field for the serial port device in the
  1105.                 kernel "config" file, re-running "config", rebuilding
  1106.                 the kernel, and rebooting with the new kernel;
  1107.  
  1108.         or, on the Sun-4c machines:
  1109.  
  1110.                 changing the setting of the "ttya-ignore-cd" or
  1111.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1112.                 the CPU serial ports.
  1113.  
  1114.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1115.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1116.         port in question to have the "local" attribute if CD is to be
  1117.         ignored, or not to have it if CD is not to be ignored, and
  1118.         running the "ttysoftcar" command to tell the kernel that the
  1119.         status of the "ignore CD" flag should be changed.
  1120.  
  1121.         In 4.1, there's no need to change the EEPROM setting to change
  1122.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1123.         the only reason why it'd be necessary.
  1124.  
  1125. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1126.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1127.  
  1128.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1129.         "vi", because that version of "vi" supports 8-bit character
  1130.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1131.         have to change the "terminfo" entry for the terminal.
  1132.  
  1133.         You may first have to convert the compiled "terminfo" entry to a
  1134.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1135.         the text of the "terminfo" entry for the terminal
  1136.         <terminal-type> to its standard output.
  1137.  
  1138.         If you already have a "termcap" entry, you can convert it to a
  1139.         "terminfo" entry with "/usr/5bin/captoinfo".
  1140.  
  1141.         A text "terminfo" entry must be recompiled in order for programs
  1142.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1143.  
  1144. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1145.     Control, and Esc keys inconvenient.  How do I remedy this?
  1146.  
  1147.         Well, one remedy may be to buy the "UNIX layout" version of the
  1148.         Type 5; this option seems, unfortunately, to be little-known to
  1149.         Sun customers, and Sun may not be promoting it as they should.
  1150.         That keyboard has a layout much more friendly to the traditional
  1151.         UNIX user than do the normal PC-style layouts for the Type 5.
  1152.  
  1153.         If you don't have that option, you can use the appropriate
  1154.         program to reprogram the keys; see the next question.
  1155.  
  1156. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1157.     Caps Lock and Control keys on a Type 5 keyboard?
  1158.  
  1159.         It depends on which window system you're running, if any.
  1160.  
  1161.         If you're not using any window system, or you're using a window
  1162.         system such as SunView that uses the OS's keyboard event
  1163.         translation mechanism, you can dump the tables used by the OS's
  1164.         keyboard event translation mechanism with the "dumpkeys"
  1165.         command, and load changes to that table with the "loadkeys"
  1166.         command; see LOADKEYS(1).
  1167.  
  1168.         If you're using X11 - either in its MIT incarnation, or Sun's
  1169.         Open Windows incarnation - or some other window system that
  1170.         shuts off the OS's keyboard event translation mechanism, you
  1171.         need to use the window system's commands, if any, for that
  1172.         function.
  1173.  
  1174.         In X11, the command for that is "xmodmap"; its translation
  1175.         tables can be printed with "xmodmap -pk", and changes to that
  1176.         table can be loaded with "xmodmap" as well.
  1177.  
  1178.         NOTE: in the particular case of the Control and Caps Lock keys,
  1179.         while MIT X appears to handle interchanging those two keys
  1180.         correctly, so that the new Caps Lock key is a toggle and the new
  1181.         Control key is not, some versions of Open Windows do not - even
  1182.         though the keys have had their mappings exchanged, the window
  1183.         system server still thinks that the *old* Caps Lock key, which
  1184.         is now the Control key, should be a toggle, and that the *old*
  1185.         Control key, which is now the Caps Lock key, should not be a
  1186.         toggle.
  1187.     [Here is a work-around for this problem, provided by Mark Plotnick
  1188.     (mp@allegra.att.COM)]:
  1189.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1190.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1191.     attributes field to N or P depending on whether the key should have 
  1192.     "pseudolock".
  1193.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1194.     78,79c78,79
  1195.     < lock  119                     # CapsLock
  1196.     < control        76                     # Control
  1197.     ---
  1198.     > lock   76                     # CapsLock
  1199.     > control       119                     # Control
  1200.     226c226
  1201.     < 76    NN      XK_Control_L
  1202.     ---
  1203.     > 76    NP      XK_Caps_Lock
  1204.     278c278
  1205.     < 119   NP      XK_Caps_Lock
  1206.     ---
  1207.     > 119   NN      XK_Control_L
  1208.  
  1209.  
  1210. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1211.  
  1212.         SunOS releases prior to 5.x come with a C compiler. However,
  1213.         it was an old compiler, and it didn't support ANSI C syntax or 
  1214.         ANSI C features.
  1215.  
  1216.     The SunSoft Catalyst CD #5 contains the binaries for the GNU C 
  1217.     compiler for Solaris 1.x and 2.x. You should get the latest
  1218.     version of GCC and compile it using this compiler. 
  1219.  
  1220.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1221.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1222.         full ANSI C environment, i.e. it doesn't necessarily include all
  1223.         the ANSI C include files or library routines); various other
  1224.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1225.  
  1226.         The Free Software Foundation's GCC also supports ANSI C syntax
  1227.         and ANSI C features. It can be FTP'ed in source form from many
  1228.         sites, and in binary form from some sites. 
  1229.  
  1230.     A compiled version of the latest GCC for SunOS 5.x is avaliable from 
  1231.     prep.ai.mit.edu. The directory containing these files is
  1232.  
  1233.         /pub/gnu/sparc-sun-solaris2
  1234.  
  1235.     You need to get the following files:
  1236.         
  1237.         gzip-binaries-1.x.x.tar    
  1238.         INSTALL.gcc
  1239.         gcc-binaries-2.x.x.tar.gz
  1240.  
  1241.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1242.  
  1243.     After obtaining GCC, you will need to run fixincludes. 
  1244.     The INSTALL.gcc file will tell you how.
  1245.  
  1246.     Note: The following sites mirror the GNU software distribution
  1247.           from prep.ai.mit.edu:
  1248.  
  1249.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1250.                     cair.kaist.ac.kr:/pub/gnu
  1251.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1252.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1253.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1254.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1255.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1256.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1257.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1258.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1259.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1260.             isy.liu.se, ftp.stacken.kth.se,
  1261.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1262.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1263.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1264.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1265.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1266.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1267.  
  1268.  
  1269.     You should check the site close to you before ftping to
  1270.     prep.
  1271.  
  1272.  
  1273. 42)    How do I change the time zone setting on my machine?
  1274.  
  1275.         In releases prior to SunOS 4.0, you will have to reconfigure
  1276.         your kernel, recompile it, install the new kernel, and reboot.
  1277.         See the documentation on kernel configuration.
  1278.  
  1279.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1280.         command with the "-l" flag, with the appropriate time zone
  1281.         setting as the argument.  For example, to set the time zone to
  1282.         US Eastern Time, do:
  1283.  
  1284.                 zic -l US/Eastern
  1285.  
  1286.         to set it to the proper setting for Great Britain and Eire, do:
  1287.  
  1288.                 zic -l GB-Eire
  1289.  
  1290.         and so on.
  1291.  
  1292.         You will then probably want to reboot your machine, in order to:
  1293.  
  1294.                 1) cause any daemons started before the time zone was
  1295.                    changed to restart, and pick up the new time zone;
  1296.  
  1297.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1298.                    binaries, old programs not converted to use the new
  1299.                    routines to convert local time to UNIX time, and
  1300.                    Calendar Manager.
  1301.  
  1302.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1303.         to the appropriate time zone file, but there's really no point
  1304.         in doing so when "zic -l" will do that for you.
  1305.  
  1306.         In Solaris 2.x, you do it the same way you do it on any other
  1307.         SVR4 system - you put a line that says
  1308.  
  1309.                 TZ=<time zone name>
  1310.  
  1311.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1312.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1313.         also uses, although not all SVR4 systems supply the time zone
  1314.         files for it; Solaris 2.0 does.
  1315.  
  1316.  
  1317. 43)    I'm getting messages that say one of the following:
  1318.          proc: table is full    and/or
  1319.             file: table is full    and/or
  1320.             dquot: table is full     and/or
  1321.             inode: table is full
  1322.          What do these errors mean, and how do I fix the problem?
  1323.  
  1324.         In SunOS releases prior to 5.0, many tables in the system are
  1325.         allocated once at system startup time, with a fixed size, and do
  1326.         not grow in size.  If the system needs more entries than are
  1327.         present in that table to perform some operation, it can't
  1328.         perform the operation, and it will log a message and return a
  1329.         failure indication.
  1330.  
  1331.         The sizes of the tables in question are based on the "maxusers"
  1332.         value in the configuration file for your kernel; to increase the
  1333.         size of the table, change the configuration file for your kernel
  1334.         to have a larger "maxusers" value, re-run "config" on that file,
  1335.         rebuild the kernel, install the new kernel, and reboot.
  1336.  
  1337.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1338.         that table is dynamically allocated; SunOS 5.0 should
  1339.         dynamically allocate entries in most if not all of those tables.
  1340.  
  1341.        I did that, and I'm still getting that message.  What do I do now?
  1342.  
  1343.         Presumably, then, either:
  1344.  
  1345.                 1) you didn't increase "maxusers" enough
  1346.  
  1347.         or
  1348.  
  1349.                 2) some process is consuming resources from the table in
  1350.                    question without bound.
  1351.  
  1352.  
  1353.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1354.           all available process slots(except for the last 5). 
  1355.  
  1356.           If you are running out of process slots you may want to 
  1357.           change the kernel parameter that controls the maximum number
  1358.           of per user processes. You can change this in the param.c
  1359.           in /sys/conf.common. You will need to change the following
  1360.           define:
  1361.  
  1362.             #define MAXUPRC (NPROC - 5)
  1363.  
  1364.           to something more reansable like
  1365.  
  1366.             #define MAXUPRC (NPROC - 5)/2
  1367.  
  1368.           After making this change you should re-config and re-build
  1369.           your kernel.
  1370.  
  1371.         The "proc" table has one entry for every process on the system;
  1372.         if it's overflowing, some process on the system may be creating
  1373.         new processes over and over again.  If you can, do a "ps -ax" to
  1374.         see what processes are on the system, and see if that gives any
  1375.         clues as to what process, if any, is spawning those other
  1376.         processes.
  1377.         
  1378.  
  1379.         The "file" table has one entry for every "active file
  1380.         descriptor" on the system; each time an "open", "dup", "socket",
  1381.         etc. call is made, a new "active file descriptor" is required.
  1382.         There's no way of finding out what process or processes are
  1383.         consuming file descriptors that's as convenient as "ps" can be
  1384.         for finding out what process or processes are spawning additional
  1385.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1386.         of "active file descriptors", but it's tricky for the novice
  1387.         user, programmer, or administrator to interpret the output of
  1388.         "pstat -f", and that output doesn't indicate which processes are
  1389.         using a given "active file descriptor".
  1390.  
  1391. 44)     Blank at present.
  1392.  
  1393. 45)     How do I run both OpenWindows and MIT X11R5?
  1394.  
  1395.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1396.  
  1397.     To get X11R5(or R4) applications to run under Openwindows you will
  1398.     need to set the appropriate LD_LIBRARY_PATH. 
  1399.  
  1400.         Assuming you installed the MIT libraries in
  1401.         /usr/lib and the OpenWindows libraries are in
  1402.         /usr/openwin/lib, set the following before you start the
  1403.         windowing system:
  1404.  
  1405.         MIT X11R4 environment
  1406.  
  1407.                 set path = (/usr/bin/X11 $path)
  1408.                 setenv LD_LIBRARY_PATH /usr/lib
  1409.  
  1410.        OpenWindows
  1411.  
  1412.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1413.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1414.  
  1415.         You can also run clients from one environment under a different
  1416.         server on a one command at a time basis.  This example runs a
  1417.  
  1418.          OpenWindows client under the MIT server:
  1419.  
  1420.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1421.  
  1422.  
  1423.     A better way to handle this(in the long run) is to re-compile 
  1424.     the X server clients to include a "hard" coded shared library
  1425.     search path. You will need to link the clients with -L
  1426.     option.  For example, if your X11 libraries are installed
  1427.     in /usr/local/lib/X11 you will link your application by
  1428.  
  1429.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1430.  
  1431.     By doing this to all applications you can eliminate the need
  1432.     to set the LD_LIBRARY_PATH. 
  1433.  
  1434.     For applications that you do not have source for you should
  1435.     write a shell script wrapper similar to the following:
  1436.  
  1437.     #!/bin/sh
  1438.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1439.     /usr/local/bin/X11/xterm.bin $*
  1440.     
  1441.  
  1442.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1443.           available from prep.ai.mit.edu. 
  1444.  
  1445.  
  1446.         The OpenWindows server has the ability to display PostScript that
  1447.         several of the OpenWindows applications require to run.  Sun's
  1448.         AnswerBook is an example that requires PostScript.  These clients
  1449.         will not run under the MIT server.   
  1450.  
  1451.     You can get a limited PostScript preview capability under 
  1452.     either server with GNU Ghostscript, a GNU "copyleft" package
  1453.     available from various ftp sites.  
  1454.  
  1455.     Two enhanced versions of Ghostscript are also available,
  1456.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1457.         These programs are currently available via anonymous ftp:
  1458.  
  1459.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1460.         GSPreview   is on ftp.x.org (18.24.0.12) in /contrib
  1461.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1462.  
  1463.  
  1464. 46)    Where do I find a "restricted" shell for SunOS?
  1465.  
  1466.     /usr/lib/rsh is a "restricted" Bourne shell.
  1467.  
  1468.         This "restricted" shell is easy to break out of; consider
  1469.         that most editors have a shell scape, for example. Building
  1470.         a window-dressing restricted environment is easy; building
  1471.         a real restricted environment is hard.
  1472.  
  1473.  
  1474. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1475.  
  1476.         Yes they will, with some restrictions. The most significant is
  1477.         that the binary in question must have been "dynamically linked."
  1478.         Otherwise, you will get the message
  1479.  
  1480.         Bad system call (core dumped)
  1481.  
  1482.         immediately when starting the 4.1.x binary on SunOS5.
  1483.  
  1484.     As of SunOS 5.3 "statically" linked binaries will now run
  1485.     in binary compatabilty mode.
  1486.  
  1487.         Finally, bear in mind that there is a performance overhead for
  1488.         this "binary emulation"; each system call happens twice,
  1489.         once to trap into the emulation mode and again to get from
  1490.         there into the UNIX kernel. 
  1491.  
  1492.  
  1493. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1494.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1495.     _get_applicationShellWidgetClass). What is the Problem?
  1496.  
  1497.     There are problems with the Xmu shared library as shipped from Sun.
  1498.  
  1499.     There are two "fixes". One is to get the Openwindows patches
  1500.     that apply to this problem and the other is to "statically" link
  1501.     the Xmu library into the executable.
  1502.  
  1503.     The patches you will need are as follows:
  1504.  
  1505.         Patch i.d.      Bug i.d.'s      O/S     Description
  1506.         ----------      -------------------------------------------------------
  1507.         100512-04       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1508.             1074766         Jumbo patch
  1509.  
  1510.         100573-04       1087332         4.1.x OpenWindows 3.0 undefined
  1511.                         symbols when using shared
  1512.                         libXmu.
  1513.  
  1514.     Note: Always use the latest version of the above patch that you can 
  1515.           find.
  1516.  
  1517.     To "statically" link your executable with libXmu modify the
  1518.     compile line as follows:
  1519.  
  1520.           -Bstatic -lXmu -Bdynamic 
  1521.  
  1522.  
  1523. 49)    What is Solaris?
  1524.     
  1525.     Solaris consists of the following facilities:
  1526.  
  1527.         1) SunOS 
  1528.         2) Openwindows
  1529.         3) Openwindows deskset tools
  1530.         4) ONC networking products and services(which includes NFS
  1531.            and NIS)
  1532.  
  1533.     Solaris is not an operating system but a "complete" user
  1534.     environment.
  1535.  
  1536.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1537.     Windows, and DeskSet versions:
  1538.  
  1539.           Solaris         SunOS           Open Windows    DeskSet
  1540.           1.0             4.1.1           2.0             2.0
  1541.           1.0.1           4.1.2           2.0             2.0
  1542.           1.1             4.1.3           3.0             3.0
  1543.           1.1.1(a)        4.1.3_U1        3.0_U1*         3.0_U1*
  1544.           1.1.1(b)        4.1.3_U1_B      3.0_U1*         3.0_U1*
  1545.  
  1546.           2.0             5.0             3.0.1           3.0.1
  1547.           2.1             5.1             3.1             3.1
  1548.           2.2             5.2             3.2             3.2
  1549.       2.3             5.3             3.3             3.3
  1550.  
  1551.     *when patched with the patches on the 4.1.3_U1 CD.
  1552.  
  1553.  
  1554.  
  1555. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1556.  
  1557.     This message is generating by Sun's resolver libraries and
  1558.     it is caused by incorrectly configured Domain Name 
  1559.     Server(the server that the resolver libraries are querying
  1560.     not necessarly the local Domain Name Server).
  1561.  
  1562.     The Domain Name Server probably lacks a reverse map entry for 
  1563.     that particular host. 
  1564.  
  1565.     Since this "bug" is closely associated with using ypserv,
  1566.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1567.     Sun supplied a patch 100141-01 to quiet it, but the 
  1568.     patched version appears to die silently at random times,
  1569.     so Sun now has a new patch, 100141-02. Do not install this
  1570.     patch unless you are really getting a lot of these messages.
  1571.  
  1572.  
  1573. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1574.     how do I repair it?
  1575.  
  1576.     One of the LEDs on the under side of the mouse has probably 
  1577.     "burnt" out.
  1578.  
  1579.     You can probably repair it yourself(if you can get a replacement 
  1580.     LED and you know how to use a Soldering Iron) by following
  1581.     a set of directions available from thor.ece.uc.edu. Get the
  1582.     file /pub/sun-faq/mouse.fix.
  1583.  
  1584.     Finally, you should try turning your mouse pad 90 degrees and
  1585.     see if that corrects the problem.
  1586.  
  1587.         Note: Also, you may have one of the bad mice that came with
  1588.           early SS-1 shipments.  The LED on the underside of the 
  1589.           mouse can fail.  Request a replacement from Sun.
  1590.     
  1591.  
  1592. 52)    After rebuilding the shared library libc it get some or all the 
  1593.     following undefined symbols: dlsym, dlopen, dlclose, mbstowcs_xccs,
  1594.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  1595.  
  1596.  
  1597.     If you have just installed a new shared library under 4.1.2 or
  1598.     greater you need to modify the Makefile for the shared libraries
  1599.     and re-install. You will need to change the following line
  1600.  
  1601.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1602.     to read 
  1603.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1604.  
  1605.     Note: You should change both such lines.
  1606.  
  1607.      Also, you may need to do a mv xccs.multibyte. xccs.multibyte.o
  1608.     to eliminate the  mbstowcs_xccs, mbtowc_xccs, wcstombs_xccs,
  1609.     or wctomb_xccs symbols errors.
  1610.  
  1611.     The above can occur under SunOS 4.1.1 if you have installed 
  1612.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1613.  
  1614.  
  1615. 53)    What does "No network locking on host" mean after upgrading to
  1616.     Solaris 2.0?
  1617.  
  1618.     Your SunOS 4.x(or above) machines are running an old version
  1619.     of rpc.lockd. You need to get and install patch number 
  1620.     100075-11 or greater to correct this problem.
  1621.  
  1622. 54)    Does Password Aging work with NIS(YP) ?
  1623.  
  1624.     Sun does not support password aging under NIS(OS version
  1625.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1626.     password aging work. 
  1627.  
  1628.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1629.     with NIS+.
  1630.  
  1631. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1632.  
  1633.     For some reason rpc.lockd can not talk to rpc.statd. 
  1634.  
  1635.     Check to see if rpc.statd is running. If rpc.statd
  1636.     is not running re-start it. If rpc.statd is running, 
  1637.     kill it and restart it. You will need to kill and restart
  1638.     rpc.lockd too. 
  1639.  
  1640.     Use this procedure to restart rpc.lockd and rpc.statd.
  1641.  
  1642.         kill rpc.statd and rpc.lockd
  1643.         start rpc.statd
  1644.         wait a 10 seconds or so
  1645.         start rpc.lockd
  1646.  
  1647.     If this does not work kill rpc.statd and rpc.lockd 
  1648.     remove /etc/sm /etc/sm.bak directories and re-start the
  1649.     daemons using the above procedure..
  1650.  
  1651.  
  1652. 56)    How do I join the Sun User Group(SUG)?
  1653.  
  1654.     Here is the information on joining SUG.
  1655.  
  1656.         Sun User Group, Inc.
  1657.         1330 Beacon Street, Suite 315
  1658.         Brookline, MA 02146
  1659.         USA
  1660.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1661.         office@sug.org 
  1662.  
  1663.     With your membership you get the following:
  1664.         
  1665.         *  Vendor Discounts
  1666.         *  Technical Conferences
  1667.         *  Software Distribution
  1668.         *  README Newsletter
  1669.         *  Annual Exhibits
  1670.         *  Local User Group Support
  1671.         *  Newsgroup comp.org.sug 
  1672.  
  1673.  
  1674. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1675.  
  1676.     For SunOS4.1.x:
  1677.  
  1678.     To add more ptys you must install a new kernel. 
  1679.  
  1680.     The default number of "ptys" is  48.  To get more "ptys" 
  1681.     change the kernel config line "pseudo-device pty" to 
  1682.     "pseudo-device pty#" where '#" is the number of "ptys"
  1683.     you want. 
  1684.  
  1685.     Be warned the maximum number you can have is 256.
  1686.  
  1687.     You will need to run /dev/MAKEDEV pty[0-5] to create
  1688.     /dev/ entries.
  1689.  
  1690.     For SunOS5.x:
  1691.  
  1692.     In /etc/system, add the line:
  1693.  
  1694.             set pt_cnt=nnn     -- nnn can have a value up to 255.
  1695.     touch /reconfigure
  1696.     and reboot using 'init 6'.
  1697.  
  1698.     For BSD style ptys set npty in /etc/system to the desired 
  1699.     value(ie set npty=64).  You may need to make the ptys by
  1700.     hand and you will need to make likes from /dev to /devices for 
  1701.     these devices.  Finally, you will need to edit /etc/iu.ap to
  1702.     automatically push the appropriate streams compatibility modules
  1703.         onto the new devices. You need to replace the line reading
  1704.             "ptsl 0 15 ldterm ttcompat"
  1705.     with
  1706.             "ptsl 0 <NUM> ldterm ttcompat"
  1707.     where <NUM> was one less than the number of compatibility ptys you
  1708.     need.
  1709.  
  1710.  
  1711. 58)    Where are dump and restore under Solaris 2.x?
  1712.  
  1713.     dump is now called /usr/sbin/ufsdump
  1714.     restore is now called /usr/sbin/ufsrestore
  1715.  
  1716. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1717.  
  1718.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1719.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1720.         patch 100713-01 or later.
  1721.  
  1722. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1723.     under Openwindows 3.0?
  1724.  
  1725.         Don't do it with xmodmap, since that won't change the locking
  1726.         behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1727.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1728.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1729.         The latter is most important, because that's where the
  1730.         "Pseudo-Lock" function (which controls the locking behaviour of
  1731.         the key) is defined.
  1732.  
  1733. 61)    Which Sun models run which versions of SunOS?
  1734.  
  1735.       Sun-supported configurations:
  1736.  
  1737.       Sun2: SunOS 4.0.3 or earlier.
  1738.       Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1739.       Sun3: SunOS 4.1.1 or earlier.
  1740.       4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1741.       4/300 series: SunOS 4.0.3 or later.
  1742.       4/400 series: SunOS 4.1PSR_A or later.
  1743.       600 models 120, 140: SunOS 4.1.2 or later.
  1744.       600 model 41, 51: SunOS 4.1.3 or later.
  1745.       600 models 412, 512: SunOS 5.1 or later.
  1746.       600 model 514: SunOS 5.3 or later.
  1747.       SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3 or later.
  1748.       SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1749.       SPARCstation 10 models 20, 30, 40, 41, 51: SunOS 4.1.3 or later.
  1750.       SPARCstation 10 models 412, 512: SunOS 5.1 or later.
  1751.       SPARCstation 10 model 402: SunOS 5.2 or later.
  1752.       SPARCstation 10 model 514: SunOS 5.3 or later.
  1753.       SPARCstation 20 models 50, 51, 61: SunOS 4.1.3_U1 revision B or later.
  1754.       SPARCstation 20 models 512, 514, 612: SunOS 5.3 revision II or later.
  1755.       SPARCclassic, SPARCstation LX: SunOS 4.1.3C or later.
  1756.       SPARCstation Voyager, SPARCstation 5: Solaris 1.1.1B  or Solaris 2.3
  1757.                       edition II or later. 
  1758.  
  1759.     Some notes:
  1760.  
  1761.     The audio device on the SS5/SS20 has does not work under Solaris 1.1.1b
  1762.     without installing the ms2 patch found on the 1.1.1B CDROM.
  1763.  
  1764.     Also, the SX Graphics card is only supported under Solaris2.3 revision
  1765.     II or later and SunOS4.1.3_U1 rev B. Note: not all SX card configs are 
  1766.     supported under SunOS4.1.3_U1 rev B so make sure that you check with
  1767.     your sales critter to make sure.
  1768.  
  1769.     If you are running Solaris 1.x and newer versions of the SuperSPARC CPU 
  1770.     (rev 3.5 and higher) require Solaris 1.1.1B.  See question 79 for
  1771.     the procedure used for determining SuperSPARC revision.
  1772.  
  1773.  
  1774.       Sun sells an unbundled version of 4.1.3 for the Classic and LX,
  1775.       called Solaris 1.1 version C. Note that Classic and LX systems do not
  1776.       come with a right-to-use licence for 4.1.3; this needs to be purchased
  1777.       separately from sun. Similarly, Voyager and SS5 systems do not come 
  1778.     with a right-to-use licence for Solaris 1.1.1B; this needs to be 
  1779.     purchased separately.
  1780.  
  1781.     Sun sells an unbundled version of 4.1.3 for the Classic and LX,
  1782.       called Solaris 1.1 version C. Note that Classic and LX systems do not
  1783.       come with a right-to-use licence for 4.1.3; this needs to be purchased
  1784.       separately from sun. Similarly, Voyager and SS5 systems do not come 
  1785.     with a right-to-use licence for Solaris 1.1.1B. This needs to be 
  1786.     purchased separately.
  1787.  
  1788.       SunOS 4.1.3 has been reported to run on the SPARCstation 10 model
  1789.       412/512 and the 600 model 412/512, but this configuration is not
  1790.       supported by Sun. Anyone who tries this is on their own.  The
  1791.       (unofficial) word from inside Sun about whether or not it actually 
  1792.     works is as follows:
  1793.  
  1794.             Little testing of the SuperSPARC MP configurations under 4.1.3
  1795.             have been done by Sun.  What little was done showed that under
  1796.             heavy loads the system was prone to crash (What it really did 
  1797.         was hang, so badly that even an L1-A would not work).
  1798.             ...
  1799.             We suspect, but do not know, that as the SuperSPARC chips get
  1800.             faster that the problems will manifest themselves more quickly.
  1801.  
  1802.       Caveat Emptor.
  1803.  
  1804.  
  1805.       SunOS 5.0 runs only on SS1,1+,2,SLC,IPC,ELC,IPX.
  1806.  
  1807.       SunOS 5.1 and later runs on all Sun4s and SPARCstations, but the 
  1808.     FPU's on the 4/100 and 4/200 series machines are disabled.
  1809.  
  1810.       Not all peripherals supported under SunOS 4.x are supported under SunOS
  1811.       5.x. Check with Sun or the peripheral manufacturer.
  1812.  
  1813.       Explanatory note:
  1814.  
  1815.       In general, Solaris = SunOS + Open Windows.
  1816.  
  1817.       Solaris 1.0 = SunOS 4.1.1 + Open Windows 2.0
  1818.       Solaris 1.0.1 = SunOS 4.1.2 + Open Windows 2.0
  1819.       Solaris 1.1 = SunOS 4.1.3 + Open Windows 3.0
  1820.       Solaris 1.1.1 = SunOS 4.1.3_U1 + Open Windows 3.0_U1
  1821.       Solaris 2.0 = SunOS 5.0 + Open Windows 3.0.1
  1822.       Solaris 2.1 = SunOS 5.1 + Open Windows 3.1
  1823.       Solaris 2.2 = SunOS 5.2 + Open Windows 3.2
  1824.       Solaris 2.3 = SunOS 5.3 + Open Windows 3.3
  1825.  
  1826.  
  1827. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  1828.  
  1829.         The problem produces output like the following:
  1830.  
  1831.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  1832.           DUMP: Date of last level 0 dump: the epoch
  1833.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  1834.           DUMP: mapping (Pass I) [regular files]
  1835.           DUMP: mapping (Pass II) [directories]
  1836.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  1837.           DUMP: Protocol to remote tape server botched (in rmtgets).
  1838.          rdump: Lost connection to remote host.
  1839.           DUMP: Bad return code from dump: 1
  1840.  
  1841.         This occurs when something in .cshrc on the remote machine prints
  1842.         something to stdout or stderr (eg. stty, echo). The rdump command
  1843.         doesn't expect this, and chokes. Other commands which use the rsh
  1844.         protocol (eg. rdist, rtar) may also be affected.
  1845.  
  1846.         The way to get around this is to add the following line near the
  1847.         beginning of .cshrc, before any command that might send something
  1848.         to stdout or stderr:
  1849.  
  1850.         if ( ! $?prompt ) exit
  1851.  
  1852.         This causes .cshrc to exit when prompt isn't set, which
  1853.         distinguishes between remote commands (eg. rdump, rsh) where these
  1854.         variables are not set, and interactive sessions (eg. rlogin) where
  1855.         they are.
  1856.  
  1857.  
  1858. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  1859.         
  1860.         SunOS 4.x          SunOS 5.x             
  1861.         Command            Equivalent               
  1862.         
  1863.         add_services       pkgadd                      
  1864.         arch               uname -m                  
  1865.                    Note: This returns the kernel architecture.
  1866.         bar                Not available. Use   
  1867.                            cpio -H bar to retrieve
  1868.                    4.x archives.
  1869.         
  1870.         biff -y            chmod o+x /dev/tty
  1871.         biff -n            chmod o-x /dev/tty
  1872.         cc                 Not available
  1873.         dbxtool            debugger
  1874.         devinfo           prtconf
  1875.         df                 df -k
  1876.         dkctl              Not available
  1877.         dkinfo             prtvtoc
  1878.         du                 du -k
  1879.         dump               /usr/sbin/ufsdump
  1880.         dumpfs             Not available
  1881.         etherfind          snoop
  1882.         exportfs           share
  1883.         extract_files      Not available
  1884.         extract_patch      Not available
  1885.         extract_unbundled  pkgadd
  1886.         fastboot           reboot or init 6
  1887.         fasthalt           init O
  1888.         hostid             sysdef -h
  1889.         hostname           uname -n
  1890.         intr               Not available
  1891.         leave              Use cron and at
  1892.         lint               Not available
  1893.         load                 pkgadd
  1894.         loadc                pkgadd
  1895.         load_package         Not available
  1896.         lpc                  lpadmin
  1897.         lpd                  lpsched
  1898.         lpq                  lpstat
  1899.         lpr                  lp
  1900.         lprm                 cancel
  1901.         lptest               Not available
  1902.         mach                 uname  -p
  1903.         modstat              modinfo
  1904.         mount                mount  -F <fstype> [options]
  1905.         mountall             mount -a
  1906.         mount_tfs            mount  -F <fstype>
  1907.         pax                  cpio
  1908.         paxcpio              cpio
  1909.         portmap              rpcbind
  1910.         printenv             env
  1911.         ps -a                ps -e
  1912.         ps -aux              ps -el
  1913.          Note: when ps is  invoked without the "-f" flag, the SV
  1914.              "ps" prints  only the first N characters of the name 
  1915.              of the program being run. You have to pass the "-f" 
  1916.              flag to get the full command line. For example, try
  1917.              ps -fe.
  1918.  
  1919.         pstat                sar
  1920.         pstat -s             swap -s
  1921.         rdump                /usr/sbin/ufsdump
  1922.         restore              /usr/sbin/ufsrestore
  1923.         rm_client            admintool
  1924.         rm_services          Not available
  1925.         rpc.etherd           Not available
  1926.         rpc.lockd          /usr/lib/nfs/lockd         
  1927.         rpc.mountd         /usr/lib/nfs/mountd        
  1928.         rpc.rexd           /usr/sbin/rpc.rexd
  1929.         rpc.rquotad        /usr/sbin/rpc.rquotad
  1930.         rpc.showfhd        Not available
  1931.         rpc.statd          /usr/lib/nfs/statd         
  1932.         rpc.user_agentd    Not available 
  1933.         rpc.yppasswdd      Not available 
  1934.         rpc.ypupdated      ypupdated     
  1935.         rrestore            /usr/sbin/ufsrestore    
  1936.         rusage             Not available 
  1937.         trace           truss
  1938.         showmount          dfmounts 
  1939.         swapon                swap -a        
  1940.         sys-config       admintool
  1941.         umount -a        umountall         
  1942.         umount_tfs       umount -F <fstype>
  1943.         unload             pkgrm
  1944.         update             fsflush
  1945.         uptime            who -b
  1946.         users              who -q
  1947.         vipw               Not available
  1948.         wall               /usr/sbin/wall
  1949.         whereis            Not available
  1950.         whoami             id
  1951.         ypbatchupd         Not available
  1952.         yppasswd           Use nispasswd for NIS+
  1953.         ypserv             Not available
  1954.  
  1955.     Notes:  A NIS server is no longer available under Solaris2.x
  1956.         without purchasing the NSKIT from Sun.
  1957.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  1958.         for useful programs and commands. Finally, some of
  1959.         missing commands are in the BSD Compatibility package.
  1960.  
  1961.     
  1962.     
  1963. 64)     How do I setup DNS on Solaris2.x?
  1964.  
  1965.     The "Setting up DNS clients" chapter of that manual is egregiously 
  1966.     out of date.  Yes, there's a bug filed against it.  
  1967.     The correct procedure is the following:
  1968.  
  1969.            Create a /etc/resolv.conf file.
  1970.  
  1971.            Change /etc/nsswitch.conf;  it's probably easiest 
  1972.     to start with the sample file "/etc/nsswitch.files" and change 
  1973.     the entry for "hosts" to the following:
  1974.  
  1975.                 hosts: files dns
  1976.  
  1977.            Processes that have already read /etc/nsswitch.conf won't see your
  1978.     changes until they're restarted.  If you care, the crude but effective
  1979.     approach is to reboot.
  1980.  
  1981. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  1982.  
  1983.     No it won't run 4.1.3. However, Sun will provide you with
  1984.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  1985.     "4.1.3" on a LX or Classic.. 
  1986.  
  1987.     The cost is around $125 for the media and $100 for the RTU
  1988.     license.
  1989.  
  1990.     Note: The last release of SunOS 4.1.x(SunOS 4.1.3_U1 or Solaris1.1.1)
  1991.           will run on all SunOS 4.1.x supported machines including
  1992.           the Classic and LX. See question 61 for more details.
  1993.  
  1994.     Users of 4.1.3C should get the DBRI patch if you don't have a
  1995.     speaker box!
  1996.  
  1997.  
  1998. 66)     I just restored my root partition and now I cannot boot.
  1999.         What is wrong?
  2000.  
  2001.  
  2002.         You probably need to run installboot.  Under Solaris 1, boot
  2003.         from cdrom, boot the miniroot, mount the root filesystem on
  2004.         /mnt, and reinstall the boot block:
  2005.  
  2006.             cd /usr/kvm/mdec    # note - miniroot's usr, not sd0's
  2007.             installboot -vlt /mnt/boot bootsd /dev/rsd0a
  2008.  
  2009.         For Solaris 2, the equivalent command, which may also live
  2010.         outside the miniroot, would be:
  2011.  
  2012.             /usr/sbin/installboot /usr/lib/fs/ufs/bootblk \
  2013.             /dev/rdsk/c0t0d0s0
  2014.  
  2015.         Under Solaris 1, if only your /vmunix is bad, you may not need
  2016.         to restore anything from tape.  Before running installboot:
  2017.  
  2018.             cp /mnt/usr/kvm/sys/<arch>/<kernel>/vmunix /mnt/vmunix
  2019.  
  2020.  
  2021.  
  2022. 67)    How do I disable/enable packet forwarding?
  2023.  
  2024.     Under 4.1 and above(does not include SunOS 5.x), 
  2025.     you can do this by using one of the following methods:
  2026.  
  2027.      adb -k -w /vmunix /dev/mem
  2028.     ip_forwarding?
  2029.     _ip_forwarding:
  2030.     _ip_forwarding: 0               = unimp         0x0
  2031.  
  2032.     ip_forwarding/w -1      <- changes in running kernel only!
  2033.     ip_forwarding?w -1      <- changes running kernel and disk image
  2034.  
  2035.     or 
  2036.  
  2037.     In your kernel configuration file, insert the following line:
  2038.  
  2039.     options "IPFORWARDING=-1"
  2040.  
  2041.     Note: The above example disables packet forwarding.
  2042.  
  2043.     Here is a list of IP forwarding options
  2044.     (from /usr/kvm/sys/netinet/in_proto.c) 
  2045.         ip_forwarding = -1  -- never forward; never change this value.
  2046.         ip_forwarding =  0  -- don't forward; set this value to 1 
  2047.                        when two interfaces are up.
  2048.             ip_forwarding =  1  -- always forward.
  2049.  
  2050.  
  2051. 68)    How do I disable the printing of banners pages?
  2052.     
  2053.     Under SunOS 4.x you need to do the following:
  2054.     
  2055.         Put :sh: in the /etc/printcap entry
  2056.         for that printer.
  2057.  
  2058.     For SPARCprinters you will need to edit the .param for that 
  2059.     printer. Under SunOS4.x you this file is located in the spool
  2060.     directory for that particular printer. Under SunOS5.x
  2061.     it is located under /etc/lp/printers/PRINTERNAME.
  2062.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  2063.             to
  2064.             BANNERPS=; export BANNERPS
  2065.  
  2066.     Also, you may want to turn off Job Log printing. You can do
  2067.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  2068.             to
  2069.                   PRINTJOBLOG=no; export PRINTJOBLOG
  2070.  
  2071.  
  2072.     If you want to disable the banner pages permanently you
  2073.     will need to perform the following steps:
  2074.  
  2075.         1. cd /usr/lib/lp/model
  2076.         2. cp standard standard-nobanner
  2077.         3. Use your favorite editor to edit standard-nobanner.
  2078.            Change line 332 from:
  2079.                 nobanner="no"
  2080.            to:
  2081.                 nobanner="yes"
  2082.         4. lpadmin -p PRINTERNAME -m standard-nobanner
  2083.  
  2084.     For a large network you can make this easier by copying a 
  2085.     custom interface script at install time and doing the appropriate 
  2086.     lpadmin command.
  2087.  
  2088.         
  2089.  
  2090. 69)    How do I change my hostname?
  2091.  
  2092.     Under SunOS 4.x you need to do the following:
  2093.  
  2094.         Edit you /etc/hosts file and change your
  2095.         local hostname. To avoid problems during
  2096.         the transistion you may want to add this
  2097.         as an hostname alias.
  2098.  
  2099.         If you are running NIS you should change the
  2100.         /etc/hosts file on the master too.
  2101.  
  2102.         Change the hostname in /etc/hostname.xxx.
  2103.         Where xxx is the interface you want to change
  2104.         the address on.
  2105.         
  2106.  
  2107.     Under SunOS 5.x you need to the above plus
  2108.     change /etc/nodename. 
  2109.  
  2110.         Note: /etc/hostname.xxx should use the short
  2111.               name under SunOS 5.x or you will
  2112.               get warning messages when booting.
  2113.  
  2114. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  2115.  
  2116.     SunOS 4.x file        SunOS 5.x file
  2117.     /etc/fstab        /etc/vfstab
  2118.     /etc/exports        /etc/dfs/dfstab
  2119.     /etc/printcap        None
  2120.     /etc/fbtab         /etc/logindevperm   -- available in SunOS 5.3
  2121.     /etc/rc.local        /etc/rc3.d/S99local -- See note 1.
  2122.  
  2123.  
  2124.     Note 1:  Here is a template file for /etc/rc3.d/S99local.
  2125.  
  2126.     #!/bin/sh
  2127.  
  2128.     state=$1
  2129.     case $state in
  2130.     
  2131.     # Any applications or daemons you want to start.
  2132.     'start')
  2133.         echo "starting local apps"
  2134.         ;;
  2135.     # Any applications or daemons that need to be shutdown gracefully.
  2136.     'stop')
  2137.         echo "Stopping local apps"
  2138.         ;;
  2139.     esac
  2140.  
  2141.  
  2142.     You may need to put the "kill" script in /etc/rc2.d/K99local but it
  2143.     is not really required.
  2144.  
  2145.  
  2146. 71)    Where can I get the BSD print spooler for Solaris2.x?     
  2147.     You can get lpr-sol2.tar.gz or lpr-sol2.tar.Z
  2148.     from the following sites:
  2149.  
  2150.         sunok-wks.acs.ohio-state.edu:/pub/solaris2/src/lpr-sol2.tar.gz
  2151.         atlas.ce.washington.edu:/pub/lpr-sol2.tar.Z
  2152.         solomon.technet.sg:/pub/uploads/unix/lpr-sol2.tar.gz
  2153.  
  2154. 72)     Where is the Solaris2.x screenblank?
  2155.  
  2156.     You can either run the 4.1.x screenblank in compatabilty
  2157.     mode or you can compile you own from sources available
  2158.     on thor.ece.uc.edu. Get the file /pub/sun-faq/screenblank_21dec93.tar.Z. 
  2159. 73)     Is there a command to display the configuration of 
  2160.     currentily attached SCSI devices?
  2161.     
  2162.     SCSIinfo will do this. Get scsiinfo-2.0.shar from thor.ece.uc.edu
  2163.     in the /pub/sun-faq directory.
  2164.  
  2165.     Get scsiping from the same place as above.
  2166.  
  2167. 74)     My printer will not print large files(over 1-megabyte), I 
  2168.     keep getting "file to big" errors. What do I do?
  2169.  
  2170.     Put the following line in your /etc/printcap file
  2171.     for the printer that has the problem.
  2172.  
  2173.     :mx#0:
  2174.  
  2175.     This basically allows for unlimited sizes of print jobs.
  2176.     Of course you are still limited by your amount of
  2177.     spool space.
  2178.  
  2179.     If you do not have access to /etc/printcap you can
  2180.     use the -s switch to lpr to use a "symlink" of the    
  2181.     file instead of copying the "real" file to the spool 
  2182.     directory.
  2183.     
  2184. 75)     I keep getting "data corruption" when using NFS over a wan,
  2185.     or slip/ppp link. What do I do?  or
  2186.     Does anybody know how to enable UDP checksum on NFS?
  2187.  
  2188.     The usaully cause for this(at least for SunOS4.x) is not
  2189.     having udp checksumming turned on. 
  2190.  
  2191.     You can turn it at boot and while the machine is running 
  2192.     by using the following adb script:
  2193.     
  2194.     #!/bin/sh
  2195.     adb -w -k /vmunix /dev/mem << EOF
  2196.     udp_cksum?W1
  2197.     udp_cksum/W1
  2198.     EOF
  2199.  
  2200.     Install or call this script from rc.local.
  2201.  
  2202.     Or edit /usr/kvm/sys/netinet/in_proto.c and change the
  2203.     udp_cksum line (near the end from  udp_cksum = 0 to udp_cksum =1
  2204.     and reconfigure your kernel and reboot)
  2205.  
  2206.     Note: udp checksumming is turned on by default under SunOS5.x.
  2207.  
  2208. 76)     Does anybody know how to enable UDP checksum on NFS?
  2209.  
  2210.     See the answer to question 75.
  2211.  
  2212. 77)     Is there a mailing list for Wabi?
  2213.  
  2214.     No. Currentily, Sun has 2 E-mail addresses that
  2215.     you can get information about Wabi and the Windows
  2216.     Apps that Wabi supports. These addresses are as follows:
  2217.  
  2218.          wabi1.0-questions@east.sun.com    - FAQ List
  2219.         wabi1.0-apps@east.sun.com    - Application List
  2220.  
  2221.  
  2222. 78)     Are there any public domain Multi-Vendor backup management
  2223.         systems?
  2224.  
  2225.     There are at least two such programs which are as follows:
  2226.  
  2227.     Amanda from the University of Maryland which is written in
  2228.     C and built on top of standard UNIX backup software
  2229.     such as dump/restore. The current source is available from
  2230.     ftp.cs.umd.edu in the /pub/amanda directory.
  2231.  
  2232.     OSU Backup from Ohio State University which is written in perl
  2233.     and built on top of standard UNIX backup software such as
  2234.     dump/restore, cpio, and GNU tar. It has the ability to backup
  2235.     some database systems(like ORACLE). Finally, it is evolving to
  2236.     support the backup of PCs via a proxy service.
  2237.  
  2238. 79)     How to determine the revision of SuperSPARC processor.
  2239.  
  2240.     There are 2 methods to identify SuperSPARC revision - by physical 
  2241.     inspection and by using the system PROM.
  2242.  
  2243.     To determine SuperSPARC revision by physical inspection:
  2244.  
  2245.         - Open system chassis (as needed)
  2246.         - Locate the SuperSPARC processor on the CPU module. The processor
  2247.           has a heat sink mounted on its top surface.  The heat sink
  2248.           may be round or of "pin fin" design.  On modules with
  2249.           External cache, the processor is the farthest from mbus
  2250.           connector.
  2251.         - 4 lines of alpha-numeric text are written on the top 
  2252.           right corner of the processor. The second line contains the 
  2253.  
  2254.          processor revision.  The format is 
  2255.                 alpha character, 2 revision digits, 8 other alpha/digits
  2256.           Examples of processor revisions are:
  2257.                 H283915478C             H313020233C             H3503027203
  2258.                  ^^                      ^^                      ^^
  2259.                  ||                      ||                      ||
  2260.                 Indicates a 2.8, 3.1, and 3.5 SuperSPARC revisions respectively
  2261.  
  2262.     To determine SuperSPARC revision using the system PROM:
  2263.  
  2264.         - On a powered on system, in single user mode, press 
  2265.                 'L1'  and 'A'
  2266.           keys simultaneously.  On some keyboards the keycaps will be labeled
  2267.                 'Stop' and 'A'
  2268.  
  2269.         - On your monitor the following will be displayed
  2270.                 Type 'go' to resume
  2271.                 ok
  2272.         - Type
  2273.                 .psr <Return>
  2274.           Your monitor will display a line of data.  Look for VER and
  2275.           IMPL fields and note their values.
  2276.  
  2277.         - Type
  2278.                 .mcr <Return>
  2279.           Your monitor will display a line of data.  Look for VER and
  2280.           IMPL fields and note their values.
  2281.  
  2282.         - Type
  2283.                 go <Return>
  2284.         - You now may continue to use your system normally.
  2285.  
  2286.         - Using the PSR and MCR IMPL/VER values you noted above,
  2287.           match them with the values in the table below to identify
  2288.           the SuperSPARC revision.  Future processors will have 
  2289.           values different than those in the table.
  2290.         
  2291.                 | SuperSPARC    (2.x)   |(3.0,1,2,3) |   (3.5)    |
  2292.                 +-----------+-----------+------------+------------+
  2293.                 | PSR VER   |       1   |        0   |         0  |         
  2294.                 | PSR IMPL  |       4   |        4   |         4  |
  2295.                 | MCR VER   |       0   |        1   |         4  |         
  2296.                 | MCR IMPL  |       0   |        0   |         0  |  
  2297.  
  2298. 80)+    How do I install SunOS4.1.x by hand(off a CD)?
  2299.  
  2300.     Installing SunOS-4.1.X from mounted cdrom:
  2301.     
  2302.     Note, these commands are examples; filenames may need to be adjusted 
  2303.     for your OS version or architecture.  You can perform this from a Sun3 
  2304.     or Sun4 running any SunOS-4.1.X, provided you take care to run the 
  2305.     right version of "installboot".  The man page includes details about 
  2306.     which systems require bootblocks with a.out format executables with
  2307.      headers, and which versions of installboot provide such.
  2308.     
  2309.     1)    # Label, format, and partition your new hard disk.
  2310.         # be sure sd?b is bigger then your physical RAM will be
  2311.         # (else system dump will overwrite /usr)
  2312.         # Use the device name you are installing to.
  2313.         # You may want to also make a /dev/rsd?d /var partition
  2314.         # 
  2315.         newfs /dev/rsd?a ; newfs /dev/rsd?d ; newfs /dev/rsd?f
  2316.         mount /dev/rsd?a /mnt
  2317.         mkdir /mnt/var ; mount /dev/sd?d /mnt/var    # if you made one
  2318.         mkdir /mnt/usr ; mount /dev/sd?f /mnt/usr
  2319.     
  2320.     2)    mount -t hsfs -o ro /dev/sr0 /cdrom
  2321.         cd /mnt
  2322.         tar xpf /cdrom/export/exec/proto_root_sunos_4_1_3_u1
  2323.     
  2324.     3)    # Install kernel specific sys files, pick correct directory
  2325.         # for your 'arch -k'
  2326.         #
  2327.         mkdir /mnt/usr/kvm
  2328.         cd /mnt/usr/kvm
  2329.         tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/kvm
  2330.         tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/sys
  2331.     
  2332.     4)    # pick packages you want, but you must install usr
  2333.         #
  2334.         cd /mnt/usr
  2335.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/usr
  2336.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/debugging
  2337.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/demo
  2338.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/games
  2339.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/graphics
  2340.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/install
  2341.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/networking
  2342.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_demo
  2343.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_fonts
  2344.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_programmers
  2345.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_users
  2346.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/rfs
  2347.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/security
  2348.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/shlib_custom
  2349.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_demo
  2350.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_programmers
  2351.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_users
  2352.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/system_v
  2353.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/text
  2354.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/tli
  2355.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/user_diag
  2356.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/uucp
  2357.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/versatec
  2358.         
  2359.     5)    # Install man pages if you want
  2360.         #
  2361.     6)    cd /mnt/usr
  2362.         tar xpf /cdrom/export/share/sunos_4_1_3_u1/manual    
  2363.     
  2364.     7)    # set up /sbin
  2365.         #
  2366.         cp /mnt/usr/etc/hostconfig /mnt/sbin
  2367.         cp /mnt/usr/etc/ifconfig /mnt/sbin
  2368.         cp /mnt/usr/etc/init /mnt/sbin
  2369.         cp /mnt/usr/etc/intr /mnt/sbin
  2370.         cp /mnt/usr/etc/mount /mnt/sbin
  2371.         cp /mnt/usr/bin/sh /mnt/sbin
  2372.         cp /mnt/usr/bin/hostname /mnt/sbin
  2373.     
  2374.     8)    # make new device nodes, you may do as needed
  2375.         #
  2376.         cd /mnt/dev
  2377.         ./MAKEDEV std pty0 pty pty2 pty3 win0 win1
  2378.     
  2379.     9)    # additional root setup
  2380.         #
  2381.         cp /mnt/usr/kvm/stand/vmunix /mnt
  2382.         chmod go-x /mnt/vmunix
  2383.         cp /mnt/usr/kvm/stand/boot.sun4 /mnt/boot
  2384.     
  2385.     10)    # run installboot
  2386.         # I suggest reading the man page, note paths below, take care
  2387.         # to run operating installboot binary, but specify device and
  2388.         # paths # for new boot disk.  You can even do this from a Sun3.
  2389.         #
  2390.         /usr/kvm/mdec/installboot -ltv /mnt/boot \
  2391.                  /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2392.     
  2393.         # if you are making a sun4c boot disk and running on a 4 or 4m
  2394.         #  machine:
  2395.         /usr/kvm/mdec/installboot -ltvh /mnt/boot \
  2396.                 /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2397.     
  2398.         # if you are making a sun4 boot disk on a 4c machine, you need
  2399.         # to
  2400.         # use a 4c installboot, not the one on your sun4.
  2401.     
  2402.     11)    # if it will have a Lance interface
  2403.         echo newhostname >> /mnt/etc/hostname.le0
  2404.         # or if will have an Intel interface
  2405.         echo newhostname >> /mnt/etc/hostname.ie0
  2406.     
  2407.     12)    # create /mnt/etc/fstab, /mnt/etc/defaultrouter, 
  2408.         # /mnt/etc/resolv.conf
  2409.         # /mnt/etc/hosts  (must have own entry here)
  2410.         # I also create /mnt/etc/shells, /mnt/etc/ftpusers
  2411.         # Depending on your timezone:
  2412.         # don't forget to 'rm /usr/lib/zoneinfo/localtime', then
  2413.         # 'ln /usr/lib/zoneinfo/EST5EDT /usr/lib/zoneinfo/localtime'
  2414.     
  2415.     13)    # This is important.  If you don't manually umount them before
  2416.         # shutdown, they may not get sync.  (Don't ask me why.)
  2417.         # 
  2418.         umount /mnt/usr
  2419.         umount /mnt/var
  2420.         umount /mnt
  2421.         # and if you're really paranoid:
  2422.         fsck /dev/rsd?f
  2423.         fsck /dev/rsd?d
  2424.         fsck /dev/rsd?a
  2425.     
  2426.     I suggest booting single user the first time (b sd() -s).
  2427.     
  2428.     Knowing the above will save you from doing total re-installs just
  2429.     because of a messed up root partition or similar.  
  2430.     
  2431.     If you are copying an existing OS, instead of extracting distribution
  2432.     tar files, you may use the following before running installboot etc...: 
  2433.     
  2434.     tar cf - <directories and files to include> |
  2435.              (cd /mnt/<area> ; tar xpf - )
  2436.     
  2437.     ..just be careful to skip your /mnt directory if you are doing this from
  2438.     root to avoid a recursive copy.
  2439.     
  2440.     MAKEDEV will re-create device special files that tar skips over
  2441.     
  2442.     Some people use:   find . -depth -print | cpio -pdlm newdir
  2443.     The advantage of this is it works with longer pathnames, and doesn't
  2444.     skip device special files.  You can also use find rules to limit to a
  2445.     device or skip/include specific files.
  2446.     
  2447.  
  2448. 81)     There is a problem with the firmware on older SUN207 drives
  2449.         that makes them incompatible with the SPARCstation 10 series.
  2450.         Sun has been known to replace these at no charge, although
  2451.         there may not be an "official" return policy.  Your drive 
  2452.         must have firmware revision 19 or higher to be functional
  2453.         in a SPARCstation 10.
  2454.  
  2455.